﻿@{
    Layout = null;
}

@if (ViewBag.DefaultUnitDropdown != null)
{
    <text>
        @Html.DropDownList("Unit", (IEnumerable<SelectListItem>) ViewBag.DefaultUnitDropdown)
<script>UpdateAccountControls()</script>
    </text>
    if (ViewBag.Usage != null)
    {
        if (ViewBag.Usage == 1)
        {
            <text>
            </text>
        }
    }
}
else if (ViewBag.DefaultBedDropdown != null)
{
    <text>
        @Html.DropDownList("Bed", (IEnumerable<SelectListItem>) ViewBag.DefaultBedDropdown)
    </text>
    if (ViewBag.Usage != null)
    {
        if (ViewBag.Usage == 1)
        {
            <text>
            </text>
        }
    }
}
else
{
    <text>
        No Unit information available. Please check your accessibility with site admin.
    </text>
}

